package com.cloudbroker.bcs.platform.dav.bizapi.constants;

import com.cloudbroker.bcs.common.constants.BasicErrorCodes;
import com.cloudbroker.bcs.common.validatioin.constants.ValidationErrorCodes;

public interface HSBCPSErrorCodes extends BasicErrorCodes, ValidationErrorCodes {
    
    /*
     * 执行成功：0
     */
    
    /*
     * 通用错误：1 ~ 99
     */
    
    // 调用周边系统失败可以50 ~ 99
    
    /*
     * 参数错误：100 ~ 999
     */
    
    /*
     * 业务错误：1000 ~
     */
    /**
     * 业务失败
     */
    public static final String BIZ_ERROR = "1000";
    
    /**
     * 通用错误错误：1001
     */
    public static interface CommonErr {
        
        public static final String _PREFIX = "1";
        
        /**
         * 验证码错误
         */
        public static final String VERIFY_CODE_WRONG = _PREFIX + "001";
        /**
         * 验证码超时
         */
        public static final String VERIFY_CODE_TIMEOUT = _PREFIX + "002";
        /**
         * 未获取验证码
         */
        public static final String VERIFY_CODE_NO = _PREFIX + "003";
        /**
         * 字符串中含有非法字符
         */
        public static final String FORBIDDEN_CHARACHTER = _PREFIX + "004";
        /**
         * 调用UF3.0接口出错统一返回信息
         */
        public static final String ITN_UC_ERROR_NO = _PREFIX + "005";
        
        /**
         * 文件传输失败
         * */
        public static final String FILE_TRANS_ERROR = _PREFIX + "006";
        
        /**
         * 上传文件类型失败
         * */
        public static final String UPLOAD_FILE_TYPE_ERROR = _PREFIX + "007";
        
        /**
         * 调用云信接口出错统一返回信息
         * */
        public static final String YUNXIN_ERROR = _PREFIX + "008";
        
        /**
         * 文件不存在
         * */
        public static final String FILE_NOT_FOUND = _PREFIX + "009";
        
        /**
         * 发送验证码过于频繁
         * */
        public static final String SEND_MESSAGE_FREQUENTLY = _PREFIX + "010";
        
        /**
         * 发送验证码次数达到上限
         * */
        public static final String SEND_MESSAGE_TO_MAX = _PREFIX + "011";
        
        /**
         * 验证次数过多
         * */
        public static final String VALIDAET_CODE_TIMT_OUT = _PREFIX + "012";
        
        /**
         * 文件太大
         */
        public static final String FILE_SIZE_LIMIT = _PREFIX + "013";
        /**
         * 无可用内容
         */
        public static final String FILE_USEFULL_ITEM_EMPTY = _PREFIX + "014";
    }
    
    /**
     * 客户对象错误：10001
     */
    public static interface ClientErr {
        
        public static final String _PREFIX = "10";
        
        /**
         * 客户不存在
         */
        public static final String NO_SUCH_CLIENT = _PREFIX + "001";
        /**
         * 客户密码错误
         */
        public static final String CLIENT_PWD_ERR = _PREFIX + "002";
        /**
         * 手机号已注册
         */
        public static final String MOBILE_REGISTERED = _PREFIX + "003";
        /**
         * 身份证已注册
         */
        public static final String NCID_REGISTERED = _PREFIX + "004";
        /**
         * 客户编号与身份证不一致
         */
        public static final String CLIENTID_IDENTITY_INCONSISTENT = _PREFIX + "005";
        /**
         * 客户姓名与身份证不一致
         */
        public static final String CLIENTNAME_IDENTITY_INCONSISTENT = _PREFIX + "006";
        /**
         * 客户不可用
         */
        public static final String CLIENT_UNAVAILABLE = _PREFIX + "007";
        /**
         * 客户身份非法或未验证
         */
        public static final String CLIENT_IDENTITY_ILLEGAL = _PREFIX + "008";
        
        /**
         * 禁言操作失败
         */
        public static final String GAG_FAIL = _PREFIX + "009";
        
        /**
         * 短信发送失败
         */
        public static final String SMS_SEND_FAIL = _PREFIX + "010";
        
        /**
         * 客户旧密码错误
         */
        public static final String CLIENT_OLD_PWD_ERR = _PREFIX + "012";
        
        /*
         * 客户消息错误：201
         */
        /**
         * 客户消息不存在
         */
        public static final String NO_SUCH_CLT_MSG = _PREFIX + "201";
        
        /**
         * 获取用户信息失败
         */
        public static final String WX_USERINFO_FAIL = _PREFIX + "011";
        
        /**
         * 用户没有在用户中心注册
         */
        public static final String UC_NO_SUCH_USER = _PREFIX + "013";
        
        /**
         * 评论人不存在
         */
        public static final String NO_SUCH_REPLY = _PREFIX + "014";
        
        /**
         * 当前用户不是大V
         * */
        public static final String USER_NOT_DAV = _PREFIX + "015";
        
        /**
         * 用户名或密码错误
         */
        public static final String CLIENT_NAME_PWD_ERR = _PREFIX + "016";
        
        /**
         * 用户注册失败
         */
        public static final String CLIENT_REG_FAIL = _PREFIX + "017";
        
        /**
         * 金币查询失败
         */
        public static final String AMOUNT_QRY_FAIL = _PREFIX + "018";
        
        /**
         * 内容不允许表情或空格
         * */
        public static final String NOT_SUPPORT_FACE_OR_BLANK = _PREFIX + "019";
        
        /**
         * 操作越权,访问无效
         * */
        public static final String EXCEED_POWER = _PREFIX + "020";
        
        /**
         * 密码不能为空
         */
        public static final String PASSWORD_EMPTY = _PREFIX + "021";
        
        /**
         * 大V不能被删除
         */
        public static final String BROKER_CANNOT_DEL = _PREFIX + "022";
        
        /**
         * 不能删除自己
         */
        public static final String SELF_CANNOT_DEL = _PREFIX + "023";
        
        /**
         * 大V信息不能被修改
         */
        public static final String BROKER_CANNOT_UPDATE = _PREFIX + "024";
        /**
         * 不能修改自己的信息
         */
        public static final String SELF_CANNOT_UPDATE = _PREFIX + "025";
        
        /**
         * 投顾平台不存在
         */
        public static final String TENANT_NOT_EXIST = _PREFIX + "026";

        /**
         * 大V邀请码错误
         */
        public static final String INVITATION_CODE_ERR = _PREFIX + "027";

        /**
         * 未关注该大V
         */
        public static final String NO_FOLLOW_BROKER = _PREFIX + "028";

        /**
         * 已关注该大V
         */
        public static final String HAS_FOLLOW_BROKER = _PREFIX + "029";
        
        /**
         * 对不起，您不能进入该工作室
         */
        public static final String FANS_IS_BLOCK = _PREFIX + "030";
        
        /**
         * 重复操作
         */
        public static final String REPEAT_OPERATION = _PREFIX + "031";
        
        /**
         * 数据为空导入失败
         */
        public static final String DATA_EMPTY_FAIL = _PREFIX + "032";
        
        /**
         * DAV不存在
         */
        public static final String BROKER_NOT_FIND = _PREFIX + "033";

        /**
         * 用户名不存在
         */
        public static final String USER_NAME_EXSIT = _PREFIX + "034";
        
        /**
         * 参数错误
         */
        public static final String REQUEST_PARA_ERROR = _PREFIX + "035";
        
        /**
         * 无记录变更
         */
        public static final String NO_RECORD_UPDATED = _PREFIX + "036";

        /**
         * 鉴权失败
         */
        public static final String VALIDATE_FAIL = _PREFIX + "037";

        /**
         * 投顾平台已存在
         */
        public static final String TENAN_HAS_EXIST = _PREFIX + "038";

        /**
         * 投顾ID设置错误
         */
        public static final String TENAN_ID_ERROR = _PREFIX + "039";

        /**
         * 冻结ID设置错误
         */
        public static final String FROZEN_ID_ERROR = _PREFIX + "040";

        /**
         * 验签失败
         */
        public static final String CHECK_SIGN_FAIL = _PREFIX + "041";

        /**
         * 加密方式错误
         */
        public static final String ENCRYPT_TYPE_ERROR = _PREFIX + "042";
        
        /**
         * 更新用户信息失败
         */
        public static final String USER_INFO_UPDATE_ERROR = _PREFIX + "043";
        
        /**
         * 账户状态异常，请联系客服人员
         */
        public static final String USER_ACCOUNT_STATUS_ERR = _PREFIX + "044";
    }
    
    /**
     * 运营用户错误：20001
     */
    public static interface StaffErr {
        
        public static final String _PREFIX = "20";
        
        /**
         * 操作帐户不存在
         */
        public static final String NO_SUCH_STAFF = _PREFIX + "001";
        /**
         * 操作帐户密码错误
         */
        public static final String STAFF_PWD_ERR = _PREFIX + "002";
        /**
         * 操作帐户不可用
         */
        public static final String STAFF_UNAVAILABLE = _PREFIX + "003";
        
        /**
         * 删除管理员失败
         */
        public static final String STAFF_DEL_ERR = _PREFIX + "004";
    }
    
    /**
     * 系统管理错误：21001
     */
    public static interface SysMgtErr {
        
        public static final String _PREFIX = "21";
        
        /**
         * 字典集不存在
         */
        public static final String NO_SUCH_DICT_SET = _PREFIX + "001";
        /**
         * 字典项不存在
         */
        public static final String NO_SUCH_DICT_ITEM = _PREFIX + "002";
        /**
         * 白名单未配置
         */
        public static final String NO_SUCH_WHITE_LIST = _PREFIX + "003";
        /**
         * 所选appId未配置
         */
        public static final String NO_SUCH_APP_ID = _PREFIX + "004";
        /**
         * 所选券商未配置
         */
        public static final String NO_SUCH_BROKER = _PREFIX + "005";
        /**
         * 不存在第三方公司
         */
        public static final String NO_SUCH_THIRD_COMPANY = _PREFIX + "006";
        /**
         * 第三方公司编号不存在
         */
        public static final String NO_SUCH_THIRD_COMPANY_ID = _PREFIX + "007";
        /**
         * 第三方公司编号已存在
         */
        public static final String THIRD_COMPANY_ID_EXEIST = _PREFIX + "008";
        /**
         * 第三方公司名称已存在
         */
        public static final String THIRD_COMPANY_NAME_EXEIST = _PREFIX + "015";
        /**
         * 开放接口列表查询失败
         */
        public static final String QUERY_INTERFACE_LIST_FAIL = _PREFIX + "009";
        /**
         * 查询绑定接口信息失败
         */
        public static final String QUERY_INTERFACE_INFO_FAIL = _PREFIX + "010";
        /**
         * 删除绑定接口失败
         */
        public static final String DELETE_BIND_INTERFACE_FAIL = _PREFIX + "011";
        /**
         * 删除公司前需要先删除正在使用的接口
         */
        public static final String DELETE_BIND_INTERFACE_FIRST = _PREFIX + "012";
        /**
         * 保存绑定接口信息失败
         */
        public static final String SAVE_INTERFACE_INFO_FAIL = _PREFIX + "013";
        /**
         * 绑定接口已存在
         */
        public static final String BIND_INTERFACE_INFO_EXSIT = _PREFIX + "014";
        /**
         * 观点不存在
         */
        public static final String NO_SUCH_VIEWPOINT_ID = _PREFIX + "016";
        /**
         * 观点评论不存在
         */
        public static final String NO_SUCH_VIEWPOINT_COMM_ID = _PREFIX + "025";
        /**
         * 非已发布观点
         */
        public static final String NO_SEND_VIEWPOINT = _PREFIX + "026";
        /**
         * 观点状态异常
         */
        public static final String VIEWPOINT_STATUS_ERROR = _PREFIX + "023";
        /**
         * 观点已发布
         */
        public static final String VIEWPOINT_STATUS_SEND = _PREFIX + "024";
        /**
         * 无历史记录
         */
        public static final String NO_SUCH_HISTORY_RECORD = _PREFIX + "017";
        /**
         * 观点标签不存在
         */
        public static final String NO_SUCH_VIEWPOINT_TAG = _PREFIX + "018";
        /**
         * 观点标签列表不存在
         */
        public static final String NO_SUCH_VIEWPOINT_TAG_LIST = _PREFIX + "019";
        /**
         * 自定义标签数量过多
         */
        public static final String DEFINE_TAG_LIMIT = _PREFIX + "020";
        /**
         * 标签名称重复
         */
        public static final String DEFINE_TAG_NAME_EXIST = _PREFIX + "021";
        /**
         * 系统标签不能删除
         */
        public static final String SYSTEM_TAG_NON_DELETABLE = _PREFIX + "022";
        /**
         * 付费标签不能修改
         */
        public static final String PAY_TAG_NON_UPDATE = _PREFIX + "031";
        /**
         * 标签已存在
         */
        public static final String TAG_LIFE = _PREFIX + "042";
        /**
         * 您还未付费
         */
        public static final String NO_PAY = _PREFIX + "027";
        /**
         * 付费观点价格不能为0
         */
        public static final String VIEWPOINT_PRICE_ERR = _PREFIX + "028";
        /**
         * 免费观点不需要付费
         */
        public static final String VIEWPOINT_FREE = _PREFIX + "029";
        /**
         * 付费价格不正确
         */
        public static final String PAY_PRICE_ERR = _PREFIX + "030";
        /**
         * 已付费
         */
        public static final String PAY_PRICE_EXIST = _PREFIX + "044";
        /**
         * 提问不存在
         */
        public static final String NO_SUCH_QUESTION = _PREFIX + "032";
        /**
         * 常用语列表不存在
         */
        public static final String NO_SUCH_COMMON_REPLY_LIST = _PREFIX + "033";
        /**
         * 常用语不存在
         */
        public static final String NO_SUCH_COMMON_REPLY_ID = _PREFIX + "034";
        /**
         * 数量超标
         */
        public static final String COMMON_REPLY_LIMIT = _PREFIX + "035";
        /**
         * 仅支持一天观点置顶
         */
        public static final String ONLY_ONE_VIEWPOINT_TOP = _PREFIX + "036";
        /**
         * 管理员列表查询失败
         */
        public static final String NO_SUCH_BROKER_MANAGER_LIST = _PREFIX + "037";
        /**
         * 查询权限列表失败
         */
        public static final String NO_SUCH_BROKER_PERMISSION_LIST = _PREFIX + "038";
        /**
         * 保存授权信息失败
         */
        public static final String SAVE_AUTH_INFO_FAIL = _PREFIX + "039";
        
        /**
         * 不能置顶已删除和草稿观点
         */
        public static final String NO_TOP_DEL_VIEWPOINT = _PREFIX + "040";
        
        /**
         * 打赏来源异常
         */
        public static final String PAY_SOURCE_EXCEPTION = _PREFIX + "041";
        
        /**
         * 必须是整数
         */
        public static final String PAYMENT_AMOUNT_EXCEPTION = _PREFIX + "043";
        /**
         * 最后一个标签不能删除
         */
        public static final String LAST_TAG_NON_DELETABLE = _PREFIX + "045";

        /**
         * 今日投票次数已用完，请明天再来
         */
        public static final String CAN_NOT_VOTE_AGAIN = _PREFIX + "046";

        /**
         *领投宝投顾组合访问不通
         */
        public static final String LTB_DYNAMIC_LIST_NULL = _PREFIX + "047";

        /**
         *领投宝当日交易访问不通
         */
        public static final String LTB_REALTIME_QRY_ERR = _PREFIX + "048";
    }
    
    /**
     * 权限错误：22001
     */
    public static interface AuthErr {
        
        public static final String _PREFIX = "22";
        
        /**
         * 权限不存在
         */
        public static final String NO_SUCH_PERMISSION = _PREFIX + "001";
        /**
         * 角色不存在
         */
        public static final String NO_SUCH_ROLE = _PREFIX + "002";
        /**
         * IP地址未授权
         */
        public static final String NO_SUCH_IP = _PREFIX + "003";
        /**
         * 已存在相同的编号
         */
        public static final String HAS_SAME_CODE = _PREFIX + "004";
    }
    
    /**
     * 任务错误：23001
     */
    public static interface TaskErr {
        
        public static final String _PREFIX = "23";
        
        /**
         * 任务不存在
         */
        public static final String NO_SUCH_TASK = _PREFIX + "001";
        /**
         * 任务已被领取
         */
        public static final String TASK_RECEIVED = _PREFIX + "002";
        /**
         * 任务已被处理
         */
        public static final String TASK_HANDLED = _PREFIX + "003";
        /**
         * 相同任务未处理，不能重复提交
         */
        public static final String UNFINISHED_TASK_DUPLICATE = _PREFIX + "004";
        
    }
    
    /**
     * 综合业务平台错误：24001
     */
    public static interface HSBCSErr {
        
        public static final String _PREFIX = "24";
        
        /**
         * 中奖记录为空
         */
        public static final String NO_PRIZES = _PREFIX + "001";
        /**
         * 不能使用自己的邀请码
         */
        public static final String NO_USE_MYINVITE = _PREFIX + "002";
        /**
         * 无此激活码
         */
        public static final String NO_INVITE = _PREFIX + "003";
        
        /** 人员信息不存在 */
        public static final String NO_CLIENTPROFILE = _PREFIX + "004";
        
        /** 客户编号为null */
        public static final String CLIENT_ID_ISNULL = _PREFIX + "005";
        
        /** 此用户不存在注册数和有效数记录 */
        public static final String NO_REG_EFF_COUNT = _PREFIX + "006";
        /** 访问令牌不一致 */
        public static final String NO_USER_TOKEN_EQUAL = _PREFIX + "007";
        /** 当前没有活动 */
        public static final String NO_ACTIVITY = _PREFIX + "008";
        /** 活动ID不能为空 */
        public static final String NO_ACTIVITY_ID = _PREFIX + "009";
        /** 当前活动没有奖品 */
        public static final String ACTIVITY_NO_PRIZE = _PREFIX + "010";
        /** 奖品编号为空 */
        public static final String PRIZE_ID_ISNULL = _PREFIX + "011";
        /** 当前客户此类奖品已经兑换，不可重复兑换 */
        public static final String NO_CLIENT_REPLY_PRIZE = _PREFIX + "012";
        /** 配送信息全部不能为空--收货人电话,收货人,收货人地址 */
        public static final String RECEIVER_MSG_NOT_NULL = _PREFIX + "013";
        /** 邀请码不正确 */
        public static final String NO_MYINVITE_RIGHT = _PREFIX + "014";
        /** 虚拟卡兑换完，请明天再来兑换 */
        public static final String VIRTUAL_CARD_END_FOR_TOMORROW = _PREFIX + "015";
        /** 不符合兑奖条件 */
        public static final String NO_PRIZE_CONDITION = _PREFIX + "016";
        /** 无互联网开户信息 */
        public static final String NO_SUCH_APP_COMPANY = _PREFIX + "017";
        /** 无互联网开户详细信息 */
        public static final String NO_SUCH_APP_DETAIL = _PREFIX + "018";
        /** 无权限，不允许登录 */
        public static final String NO_SUCH_FUN_ROLE = _PREFIX + "019";
        /** 无互联网公司信息 */
        public static final String NO_APP_COMPANY = _PREFIX + "020";
        /** 互联网公司信息不符合要求 */
        public static final String APP_COMPANY_ERROR = _PREFIX + "021";
        /** 已存在相同公司编号 */
        public static final String HAS_SAME_APP_ID = _PREFIX + "022";
        /** 已存在相同公司名称 */
        public static final String HAS_SAME_APP_NAME = _PREFIX + "023";
        /** 删除互联网公司信息失败 */
        public static final String DELETE_APP_COMPANY_ERR = _PREFIX + "024";
    }
    
    /**
     * 综合业务平台--活动错误信息：25001
     */
    public static interface HSBCSACTIVITYErr {
        public static final String _PREFIX = "25";
        /** 邀请人信息(微信id，手机号，昵称)不能为空 */
        public static final String BIND_TEAM_INFO = _PREFIX + "001";
        
        /** 当前手机号存在绑定团队 */
        public static final String EXIST_BIND_TEAM = _PREFIX + "002";
        /** 邀请人信息不存在 */
        public static final String NO_BIND_TEAM = _PREFIX + "003";
        /** 手机号码为空或不是手机号 */
        public static final String MOBILE_ISNULL_OR_ERROR = _PREFIX + "004";
        /** 不可以邀请自己组队 */
        public static final String INVITER_OWNER = _PREFIX + "005";
        /** 微信号已经注册 */
        public static final String WX_OPENID_REGESTER = _PREFIX + "006";
        
    }
    
    /**
     * 渠道错误
     * 
     * @author panjx12801
     *
     */
    public static interface ChannelErr {
        public static final String _PREFIX = "26";
        /** 渠道编号不存在 */
        public static final String CHANNEL_ID_EMPTY = _PREFIX + "001";
        /** 渠道不存在 */
        public static final String NO_SUCH_CHANNEL = _PREFIX + "002";
        /** 渠道号码已存在 */
        public static final String CHANNEL_NO_EXIST = _PREFIX + "003";
        /** 渠道名称已存在 */
        public static final String CHANNEL_NAME_EXIST = _PREFIX + "004";
    }
    
    public static interface interErr {
        public static final String __PREFIX = "27";
        /** 查询条件有误 */
        public static final String INTER_CONDITION_EMPTY = __PREFIX + "001";
    }
    
    public static interface FavoriteErr {
        public static final String __PREFIX = "28";
        
        /**
         * 收藏不存在
         */
        public static final String FAVORITE_NOT_EXIST = __PREFIX + "001";
        /**
         * 新闻已收藏
         */
        public static final String NEWS_HAS_FAVORITE = __PREFIX + "002";
        /**
         * 新闻不存在
         */
        public static final String NEWS_NOT_EXIST = __PREFIX + "003";
    }
    
    public static interface QuestionErr {
        
        public static final String __PREFIX = "29";
        /**
         * 问题不存在
         */
        public static final String QUESTION_NOT_EXIST = __PREFIX + "001";
        /**
         * 回答不存在
         */
        public static final String ANSWER_NOT_EXIST = __PREFIX + "002";
        /**
         * 问题已经被回答
         */
        public static final String QUESTION_HAS_ANSERED = __PREFIX + "003";
        /**
         * 已点赞
         */
        public static final String HAS_UPVOTE = __PREFIX + "004";
        /**
         * 已吐槽
         */
        public static final String HAS_SPITSLOT = __PREFIX + "005";
        /**
         * 未回答的问题无法点赞或打赏
         */
        public static final String NO_ANSWER = __PREFIX + "006";
        /**
         * 只能在多投顾登录下查询
         */
        public static final String STATUS_ERR = __PREFIX + "007";
        /**
         * 
         */
    }
    
    /**
     * 充值消费错误
     *
     * @author wangxu13798
     *
     */
    public static interface PayErr {
        public static final String _PREFIX = "30";
        /** 调用钱包支付失败 */
        public static final String WALLET_PAY_ERR = _PREFIX + "001";
        /** 金币充值失败 */
        public static final String GOLDCOIN_CHANGE_ERR = _PREFIX + "002";
        /** 金币充值撤销失败 */
        public static final String GOLDCOIN_CHANGE_REVOKE_ERR = _PREFIX + "003";
        
        /**
         * 余额不足
         */
        public static final String INSUFFICIENT_FUNDS = _PREFIX + "004";
        
        /**
         * 支付失败
         */
        public static final String PAY_ERR = _PREFIX + "005";
    }
    
    public static interface ChatRoomErr {
        
        public static final String _PREFIX = "31";
        /** 聊天室不存在 */
        public static final String NO_SUCH_CHAT_ROOM = _PREFIX + "001";
        /** 删除聊天记录失败 */
        public static final String NO_SUCH_CHAT_MSG = _PREFIX + "002";
    }
    
    public static interface RollingMsgErr {
        public static final String _PREFIX = "32";
        /** 消息不存在 */
        public static final String NO_SUCH_ROLLING_MSG = _PREFIX + "001";
        
        /**
         * 内容不能为空
         */
        public static final String CONTENT_NOT_BLANK = _PREFIX + "002";
    }
    
    public static interface WechatShareErr {
        public static final String _PREFIX = "33";
        /** 消息不存在 */
        public static final String NO_SUCH_WECHAT_SHARE = _PREFIX + "001";
        /** 大V信息不一致 */
        public static final String NO_EQUAL_DAV = _PREFIX + "002";
        /** 微信分享存库错误 */
        public static final String NO_RIGHT_SAVE = _PREFIX + "003";
        /** 微信分享Id缺失 */
        public static final String REQUIRE_WECHATSHARE_ID = _PREFIX + "004";
        /** 微信分享记录不存在 */
        public static final String RECORDE_NO_EXIST = _PREFIX + "005";
        /** 授权失败 */
        public static final String AUTH_FAILED = _PREFIX + "006";
        /**
         * 微信分享链接未配置
         */
        public static final String WECHAT_SHARE_LINK_NOT_SETTING = _PREFIX + "007";
    }
    
    public static interface SchemeColorErr {
        public static final String _PREFIX = "34";
        /** id不存在 */
        public static final String NO_SCHEME_COLOR_ID = _PREFIX + "001";
        /** 记录不存在 */
        public static final String NO_SCHEME_COLOR = _PREFIX + "002";
    }
    
    public static interface ViewpointErr {
        
        public static final String _PREFIX = "35";
        
        /**
         * 观点内容不能为空
         */
        public static final String VIEWPOINT_CONTENT_NOT_BLANK = _PREFIX + "001";
        
        /**
         * 观点内容格式不正确
         */
        public static final String VIEWPOINT_CONTENT_ERR = _PREFIX + "002";


    }

    /*
    light平台返回数据错误
     */
    public static interface LightErr {
        public static final String _PREFIX = "36";
        public static final String LIGHT_ACCESS_TOKOEN_ERR = _PREFIX+"001";
    }
    
    public static interface PlugsErr {
    	public static final String _PREFIX = "37";
    	/**
    	 * 组件已存在
    	 */
    	public static final String PLUGS_EXIST = _PREFIX + "001";
    	
    	/**
    	 * 折扣价格不能大于原价
    	 */
    	public static final String PLUGS_DISCOUNT_CANOT_THEN_PRICE = _PREFIX + "002";
    	
    	/**
    	 * 组件名称已存在
    	 */
    	public static final String PLUGS_NAME_EXIST = _PREFIX + "003";
    	
    	/**
    	 * 组件链接已存在
    	 */
    	public static final String PLUGS_LINK_EXIST = _PREFIX + "004";
    	
    	/**
    	 * 功能标识已存在
    	 */
    	public static final String PLUGS_CODE_EXIST = _PREFIX + "005";
    	
    	/**
    	 * 组件不存在
    	 */
    	public static final String PLUGS_NOT_EXIST = _PREFIX + "006";
    	
    	/**
    	 * 组件正在被使用 无法删除
    	 */
    	public static final String PLUGS_IS_USING = _PREFIX + "007";
    }
    
    public static interface PlugsTypeErr {
    	public static final String _PREFIX = "38";
    	
    	/**
    	 * 组件分类已存在
    	 */
    	public static final String PLUGS_TYPE_EXIST = _PREFIX + "001";
    	
    	/**
    	 * 组件分类不存在
    	 */
    	public static final String PLUGS_TYPE_NOT_EXIST = _PREFIX + "002";
    }
    
    public static interface ExtendGroupErr {
    	public static final String _PREFIX = "39";
    	
    	/**
    	 * 分组信息初始化失败
    	 */
    	public static final String EXTEND_GROUP_INIT_FAIL = _PREFIX + "001";
    	
    	/**
    	 * 分组ID不能为空
    	 */
    	public static final String EXTEND_GROUP_ID_IS_NULL = _PREFIX + "002";
    	
    	/**
    	 * 默认分组不能删除
    	 */
    	public static final String EXTEND_GROUP_DEFAULT_UNDEL = _PREFIX + "003";
    	
    	/***
    	 * 生成默认分组失败
    	 */
    	public static final String EXTEND_GROUP_DEFAULT_BUILD_FAIL = _PREFIX + "004";
    	
    	/**
    	 * 分组数据不能为空
    	 */
    	public static final String EXTEND_GROUP_JSONARRAY_NOT_NULL = _PREFIX + "005";
    	
    	/**
    	 * 分组不存在
    	 */
    	public static final String EXTEND_GROUP_NOT_FUND = _PREFIX + "006";
    	
    	/**
    	 * 群组中组件数过多
    	 */
    	public static final String EXTEND_APP_GROUP_MAX = _PREFIX + "007";
    	
    	/**
    	 * 生成分组失败
    	 */
    	public static final String EXTEND_APP_BUILD_GROUP_FAIL = _PREFIX + "008";
    	
    	/**
    	 * 数据中应用不存在
    	 */
    	public static final String EXTEND_APP_BUILD_APP_NOT_EXIST = _PREFIX + "009";
    	
    	/**
    	 * 数据中分组不存在
    	 */
    	public static final String EXTEND_APP_BUILD_GROUP_NOT_EXIST = _PREFIX + "010";
    	
    	/**
    	 * 分组数量已达上限
    	 */
    	public static final String EXTEND_GROUP_MAX = _PREFIX + "011";
    	
    	/**
    	 * 记录不存在
    	 */
    	public static final String EXTEND_APP_GROUP_NOT_EXIST = _PREFIX + "012";
    	
    	/**
    	 * 该应用不允许修改状态
    	 */
    	public static final String NEED_LOGIN_CAN_NOT_UPDATE = _PREFIX + "013";
    	
    	/**
    	 * 应用排序规则错误,外链应用不能排在第一位
    	 */
    	public static final String EXTEND_APP_GROUP_SORT_RULE_ERR = _PREFIX + "014";
    	
    	/**
    	 * 分组中第一个不能为外链应用
    	 */
    	public static final String EXTEND_APP_GROUP_FULL_OUTSIDE_PLUGS = _PREFIX + "015";
    	
    	/**
    	 * 根据排序规则限制，请先删除外链应用
    	 */
    	public static final String EXTEND_APP_GROUP_DEL_APP_RULE_ERR = _PREFIX + "016";
    }
    
    public static interface ExtendAppErr {
    	public static final String _PREFIX = "40";
    	
    	
    	/**
    	 * 应用已存在，请勿重复购买
    	 */
    	public static final String EXTEND_APP_BUYED = _PREFIX + "001";
    	
    	/**
    	 * 该应用按天计费 请填写正确购买天数
    	 */
    	public static final String EXTEND_APP_CHARGE_BY_DAY_ERROR = _PREFIX + "002";
    	
    	/**
    	 * 该应用按使用次数计费  请填写正确购买数量
    	 */
    	public static final String EXTEND_APP_CHARGE_BY_COUNT_ERROR = _PREFIX + "003";
    }

    public static interface OperateErr {
        public static final String _PREFIX = "41";


        /**
         * 营业部下没有租户存在
         */
        public static final String TENANT_NOT_EXIST = _PREFIX + "001";

        /*
       * 操作越权，请确认权限
       */
        public static final String OPERATE_EXCEED_POWER_ERROR = _PREFIX + "002";

        /*
        * 审核信息错误，请确认
        */
        public static final String OPERATE_CHECK_INFO_ERROR = _PREFIX + "003";

        /**
         * 租户编号不能为空
         */
        public static final String TENANT_NOT_NULL = _PREFIX + "004";

        /**
         * 数据格式错误
         */
        public static final String DATA_PATTEN_ERROR = _PREFIX + "005";

        /**
         * 时间格式不正确
         */
        public static final String DATE_PATTEN_ERROR = _PREFIX + "006";

        /**
         * 投顾存在
         */
        public static final String INVEST_NOT_EXIST_ERROR = _PREFIX + "007";

        /**
         * 投顾存在
         */
        public static final String DATE_INFO_ERROR = _PREFIX + "008";

        /**
         * 该组织架构下没有租户存在
         */
        public static final String TENANT_NOT_EXIST_BY_BRANCH = _PREFIX + "009";

        /**
         * 删除编号错误，请确认！
         */
        public static final String DELETE_ID_ERR = _PREFIX + "010";
    }

    public static interface PointErr {
        public static final String _PREFIX = "42";
        /**
         * 余额不足
         */
        public static final String NO_BALANCE_POINT = _PREFIX + "001";

        /**
         * 调用积分系统出错
         */
        public static final String LTB_ERROR_NO = _PREFIX + "002";
    }

}
